package com.rose.doorto.footbathpay.fegin;

import com.rose.doorto.footbathdoor.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathpay.fegin
 * @Project：door-to-door
 * @name：OrderFeginRemoteService
 * @date 2024/08/09 2024/8/9:16:36:
 */
@FeignClient(name = "footbath-door")
public interface OrderFeginRemoteService {

    /**
     * 获取指定的订单
     * @param orderSn
     * @return
     */
    @GetMapping("/order/getOrderByOrderSn/{orderSn}")
    Order getOrderByOrderSn(@PathVariable("orderSn") String orderSn);
}
